<template>
	<!-- 需要 -->
	<view class="demandData">
		<view class="itemBox">
			<view class="itemBox_item">
				<!-- kWTotDmd -->
				<view class="item_name">总有功功率实时需量:</view><view class="item_num">{{itemObj.kWTotDmd}}W</view>
			</view>
			<view class="itemBox_item">
				<view class="item_name">总无功功率实时需量:</view><view class="item_num">{{itemObj.kvarTotDm}}var</view>
			</view>
			<view class="itemBox_item">
				<view class="item_name">总视在功率实时需量:</view><view class="item_num">{{itemObj.kVATotDmd}}VA</view>
			</view>
			<view class="itemBox_item">
				<view class="item_name">有功功率最大值需量:</view><view class="item_num">{{itemObj.kWTotMaxDm}}W</view>
			</view>
			<view class="itemBox_item">
				<view class="item_name">无功功率最大值需量:</view><view class="item_num">{{itemObj.kvarTotMax}}var</view>
			</view>
			<view class="itemBox_item">
				<view class="item_name">视在功率最大值需量:</view><view class="item_num">{{itemObj.kVATotMaxD}}VA</view>
			</view>
			
			
			
			
		</view>
		
	</view>
</template>

<script setup>
	import {
		
		defineProps
	} from 'vue'
	const props = defineProps({
		itemObj:Object
	});
</script>

<style lang="scss">
	.demandData{
		padding: 34rpx 32rpx;
		box-sizing: border-box;
		.itemBox{
			&_item{
				padding: 30rpx 0;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;
				align-items: center;
				border-bottom: 1rpx solid  #EFEFEF;
				.item_name{
					font-size: 24rpx;
					color: #333;
				}
				.item_num{
					font-size: 28rpx;
					color: #000;
				}
			}
			.itemBox_item:last-child {
				padding: 30rpx 0;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;
				align-items: center;
				border-bottom: 0rpx solid  #EFEFEF;
				.item_name{
					font-size: 24rpx;
					color: #333;
				}
				.item_num{
					font-size: 28rpx;
					color: #000;
				}
			}
		}
		
	}
</style>